<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>百朋后台管理系统</title>
    <link rel="stylesheet" type="text/css" href="/thinkphp/Public/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="/thinkphp/Public/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="/thinkphp/Public/easyui/demo.css">
    <link rel="stylesheet" type="text/css" href="/thinkphp/Public/css/user/user_main.css">
    <script type="text/javascript" src="/thinkphp/Public/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/thinkphp/Public/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/thinkphp/Public/js/user/user_main.js"></script>
</head>
<body>
<div class="user_table">
    <table id="user_table" title="Client Side Pagination" style="width:100%;height:405px" data-options="
                        rownumbers:true,
                        singleSelect:true,
                        autoRowHeight:false,
                        pagination:true,
                        pageSize:10,toolbar:'#tb'">
        <thead>
        <tr>
            <th field="borrow_id" width="10%">分期编号</th>
            <th field="borrow_money" width="15%">分期金额</th>
            <th field="borrow_loanperiod" width="10%">分期期限</th>
            <th field="borrow_createdate" width="10%" align="right">分期时间</th>
            <th field="cust_name" width="10%" align="right">用户姓名</th>
            <th field="cust_identity" width="20%" align="right">用户身份证号码</th>
            <th field="ls_value" width="10%">分期状态</th>
        </tr>
        </thead>
    </table>
</div>
<div id="tb" style="padding:5px;height:auto">
    <div style="margin-bottom:5px">
        <a href="javscript:;" class="easyui-linkbutton" iconCls="icon-print" plain="true">导出</a>
    </div>
    <div>
        Date From: <input class="easyui-datebox" style="width:120px">
        To: <input class="easyui-datebox" style="width:120px">
        Language:
        <select class="easyui-combobox" panelHeight="auto" style="width:100px">
            <option value="java">Java</option>
            <option value="c">C</option>
            <option value="basic">Basic</option>
            <option value="perl">Perl</option>
            <option value="python">Python</option>
        </select>
        <a href="#" class="easyui-linkbutton" iconCls="icon-search">Search</a>
    </div>
</div>
<script>
    $(function(){
        var json='<?php echo ($report_json); ?>';
        var array=eval('('+json+')');
        console.log(array);
        $('#user_table').datagrid({loadFilter:pagerFilter}).datagrid('loadData', array);
    });
</script>
</body>
</html>